package com.mrx.compose.weather.api.qweather

object ApiConfig {

    private const val KEY_ENV_NOT_FOUND_ERROR = "请先设置和风天气 webApi key 的环境变量, 例如: key=114514"

    val key: String =
        System.getenv("key") ?: throw IllegalStateException(KEY_ENV_NOT_FOUND_ERROR)

}